package aaa.question.mapper;

import aaa.question.domain.OptionBank1;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper

public interface OptionBank1Mapper {
    List<OptionBank1> findByQuestionId(@Param("questionId") int questionId);

    int insertByDTO(@Param("questionId") int questionId, @Param("optionChar") String optionChar , @Param("optionText") String optionText);
}